home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "dpdlg.h"
-
- // Dispatch interfaces referenced by this interface
- #include "picture.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CDPDlg
-
- IMPLEMENT_DYNCREATE(CDPDlg, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CDPDlg properties
-
- BOOL CDPDlg::GetBrowseForComputer()
- {
- BOOL result;
- GetProperty(0x1, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetBrowseForComputer(BOOL propVal)
- {
- SetProperty(0x1, VT_BOOL, propVal);
- }
-
- BOOL CDPDlg::GetBrowseForPrinter()
- {
- BOOL result;
- GetProperty(0x2, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetBrowseForPrinter(BOOL propVal)
- {
- SetProperty(0x2, VT_BOOL, propVal);
- }
-
- BOOL CDPDlg::GetDontGoBelowDomain()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetDontGoBelowDomain(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- BOOL CDPDlg::GetReturnFSAncestors()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetReturnFSAncestors(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- BOOL CDPDlg::GetReturnOnlyFSDirs()
- {
- BOOL result;
- GetProperty(0x5, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetReturnOnlyFSDirs(BOOL propVal)
- {
- SetProperty(0x5, VT_BOOL, propVal);
- }
-
- long CDPDlg::GetRoot()
- {
- long result;
- GetProperty(0x6, VT_I4, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetRoot(long propVal)
- {
- SetProperty(0x6, VT_I4, propVal);
- }
-
- OLE_HANDLE CDPDlg::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- CPicture CDPDlg::GetIcon()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch);
- return CPicture(pDispatch);
- }
-
- void CDPDlg::SetIcon(LPDISPATCH propVal)
- {
- SetProperty(0x7, VT_DISPATCH, propVal);
- }
-
- CString CDPDlg::GetFolder()
- {
- CString result;
- GetProperty(0x8, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetFolder(LPCTSTR propVal)
- {
- SetProperty(0x8, VT_BSTR, propVal);
- }
-
- CString CDPDlg::GetPath()
- {
- CString result;
- GetProperty(0x9, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetPath(LPCTSTR propVal)
- {
- SetProperty(0x9, VT_BSTR, propVal);
- }
-
- CString CDPDlg::GetCaption()
- {
- CString result;
- GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CDPDlg::SetCaption(LPCTSTR propVal)
- {
- SetProperty(DISPID_CAPTION, VT_BSTR, propVal);
- }
-
- CString CDPDlg::Get_Caption()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CDPDlg::Set_Caption(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CDPDlg operations
-
- BOOL CDPDlg::Show()
- {
- BOOL result;
- InvokeHelper(0xa, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CDPDlg::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-